package com.liangge.essaysite.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.liangge.essaysite.bean.User;
import com.liangge.essaysite.dao.UserDao;
import com.liangge.essaysite.service.UserService;

public class UserServiceImpl implements UserService {
	private UserDao userDao;
	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	@Override
	public User selectUserByUsername(Map<String,Object> params) {
		return userDao.selectUserByUsername(params);
	}
	
}
